/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "刀信息",TableName = "EQU_ToolModel")]
    public partial class EQU_ToolModel:BaseEntity
    {
        /// <summary>
       ///EQU_ToolModel_Id
       /// </summary>
       [Key]
       [Display(Name ="EQU_ToolModel_Id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid EQU_ToolModel_Id { get; set; }

       /// <summary>
       ///刀
       /// </summary>
       [Display(Name ="刀")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ToolModel_Code { get; set; }

       /// <summary>
       ///刀长
       /// </summary>
       [Display(Name ="刀长")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? ToolLength { get; set; }

       /// <summary>
       ///描述
       /// </summary>
       [Display(Name ="描述")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Description { get; set; }

       /// <summary>
       ///新建/激活/保留/废除
       /// </summary>
       [Display(Name ="新建/激活/保留/废除")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Status { get; set; }

       /// <summary>
       ///长的误差范围小
       /// </summary>
       [Display(Name ="长的误差范围小")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? RangeErrorMin { get; set; }

       /// <summary>
       ///长的误差范围大
       /// </summary>
       [Display(Name ="长的误差范围大")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? RangeErrorMax { get; set; }

       /// <summary>
       ///R的误差范围小
       /// </summary>
       [Display(Name ="R的误差范围小")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? RangeErrorRMin { get; set; }

       /// <summary>
       ///R的误差范围大
       /// </summary>
       [Display(Name ="R的误差范围大")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? RangeErrorRMax { get; set; }

       /// <summary>
       ///图
       /// </summary>
       [Display(Name ="图")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string Img { get; set; }

       /// <summary>
       ///测量模板
       /// </summary>
       [Display(Name ="测量模板")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string MeasureTemplate { get; set; }

       /// <summary>
       ///刀柄类型
       /// </summary>
       [Display(Name ="刀柄类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string HolderType { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string CreateBy { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateOn { get; set; }

       /// <summary>
       ///更新人
       /// </summary>
       [Display(Name ="更新人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string UpdateBy { get; set; }

       /// <summary>
       ///更新时间
       /// </summary>
       [Display(Name ="更新时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? LastUpdateOn { get; set; }

       /// <summary>
       ///逻辑删除 0/不删除 1/已删除
       /// </summary>
       [Display(Name ="逻辑删除 0/不删除 1/已删除")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsDeleted { get; set; }

       
    }
}